//变量
$width: 1263px, 1200px;

// header
.header{
    width:100%;
    overflow: hidden;
    height: 105px;
    padding-top: 5px;
    border-top: 4px solid #5349b8;
    margin: 0 auto;
    &-top {
        width: nth($width , 1);
        height: 30px;
        margin: 0 auto;
        &-right {
            width: 480px;
            height: 30px;
            float: right;
            margin-right: 30px;
            line-height: 30px;
            .f{
                width: 1px;
                height: 30px;
                font-size: 12px;
                color: #cccccc;
            }
            i{
                font-size: 18px !important;
                color: #cccccc;
                padding-left: 2px;
                padding-right: 4px;
            }
            .wecome-box{
                width: 100px;
                height: 30px;
                float: left;
                a{
                float: left;
                width: 30px;
                font-size: 12px;
                color: #cccccc;
                padding-right: 10px;
                }
                a:hover{
                    color: #5349b8;
                    text-decoration: underline;
                }
                a:hover i{
                    color: #5349b8 !important;
                }
            }
            .wecome-box{
                width: 90px;
                height: 30px;
                float: left;
            }
            .user-cart{
                width: 63px;
                height: 30px;
                float: left;
                text-align: center;
                a{
                font-size: 12px;
                color: #cccccc;
                padding-right: 10px;
                }
                a:hover{
                    color: #5349b8;
                    text-decoration: underline;
                }
                a:hover i{
                    color: #5349b8 !important;
                }
            }
            .user-box{
                width: 300px;
                height: 30px;
                float: left;
                text-align: center;
                a{
                font-size: 12px;
                color: #cccccc;
                padding-right: 10px;
                }
                a:hover{
                    color: #5349b8;
                    text-decoration: underline;
                }
                a:hover i{
                    color: #5349b8 !important;
                }
            }
            b{
                color: #5349b8 ;
            }
        }
    }
    &-bottom {
        width: nth($width , 1);
        margin: 0 auto;
        height: 75px;
        &-list {
            width: 414px;
            height: 50px;
            float: left;
            margin-left: 30px;
            .logo {
                width: 192px;
                height: 50px;
                float: left;
                background: url(/images/logo.png);
            }
            .logoing {
                width: 192px;
                height: 50px;
                float: right;
            }
        }
        &-search {
            width: 558px;
            height: 50px;
            margin-top: 10px;
            float: right;
            border: 1px solid #cccccc;
            margin-right: 30px;
            position: relative;
                >input{
                    height: 40px;
                    padding: 5px 10px 5px 10px;
                    border: 0;
                    width: 515px;
                    font-size: 16px;
                    background-color: #fff;
                    outline: none;
                }
                >.search-sure {
                    position: relative;
                    right: 16px;
                    top: 50%;
                    margin-top: -10px;
                    display: inline-block;
                    width: 25px;
                    height: 25px;
                }
                i{
                    font-size: 18px !important;
                }
                .search-down-ul{
                    position: absolute;
                    top: 52px;
                    width: 100%;
                    background: red;
                    display: none;
                    width: 100%;
                    li{
                        height: 20px;
                        padding: 5px 5px 5px 5px;
                        font-size: 16px; 
                    }
                }   
        }
    }
    #un-login{
        display: block;
    }
    #username{
        display: none;
        float: left;
        font-size: 12px;
        width: 32px;
        margin: 0px;

    }
    #logout-btn{
        display: none;
    }
    #reg-btn{
        display: block;
    }
}
